﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace OpenSda.Agilcont.Common.Business.Exceptions
{

    public sealed class UserNotFoundException : Exception
    {
        public UserNotFoundException()
            : base(string.Format("The User doesn't exist in the DataBase"))
        { }
    }


    public sealed class UserCannotBeNullException : Exception
    {
        public UserCannotBeNullException()
            : base("User can not be null")
        {
        }
    }

   //public sealed class UserNameInUseException : Exception
   // {
   //     public UserNameInUseException()
   //         : base(string.Format("The User Name is already in use"))
   //     { }
   // }

    public sealed class UserUserLoginInUseException : Exception
    {
        public UserUserLoginInUseException()
            : base(string.Format("The User UserLogin is already in use"))
        { }
    }
    
 }

